<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title>打印三角形图案</title>
	</head>
	<body> 
		<script>
			for(var j=0; j<10; j++){
				for( var i=0; i<j; i++){
				document.write("*");
			}
			document.write("<br>");
			}
			
		</script>
	</body>
</html>
